package com.dearbinge.data.pojo.version;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@Api("app版本表")
@TableName("app_version")
public class Version implements  Serializable {

    /**
     * 购物车ID
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 版本
     */
    @ApiModelProperty("版本")
    @TableField(value = "version_code")
    private Integer versionCode;

    /**
     * 下载链接
     */
    @ApiModelProperty("下载链接")
    @TableField(value = "url")
    private String url;

    /**
     * 类型 1ios 2安卓
     */
    @ApiModelProperty("类型 1ios 2安卓")
    @TableField(value = "type")
    private Integer type;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Integer versionCode) {
        this.versionCode = versionCode;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }



}
